boxlayout: Notify orientation changes
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 28 Mar 2019 02:25:22 +0000 (23:25 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 28 Mar 2019 02:34:03 +0000 (23:34 -0300)
This was missing from the initial implementation, and
breaks the tests.

gtk/gtkboxlayout.c

index 0b88e39fcf96471f30d494bb5100e29a45949568..5d3ef2bd0d2462f88dc9d063163225481f2b38b0 100644 (file)
@@ -91,6 +91,8 @@ gtk_box_layout_set_orientation (GtkBoxLayout   *self,
     _gtk_orientable_set_style_classes (GTK_ORIENTABLE (widget));
 
   gtk_layout_manager_layout_changed (layout_manager);
+
+  g_object_notify (G_OBJECT (self), "orientation");
 }
 
 static void